<template>
      <div id="pagetitle">
            <span class="name">
                  <span class="index" @click="$router.push('/')">首页 /  </span>
                  <slot name="pageName"></slot>
            </span>
            <el-divider></el-divider>
      </div>
</template>

<script>
      export default {
            
      }
</script>

<style lang="scss" scoped>
#pagetitle {
      text-align: left;
      .name {
            font-size: 24px;
            font-weight: bold;
            text-align: left;
            color: #2892ea;
            .index {
                  cursor: pointer;
            }
      }
}
</style>